# Contributor: Hiroshi Kajisha <kajisha@gmail.com>
# Maintainer: Hiroshi Kajisha <kajisha@gmail.com>
pkgname=rcm
pkgver=1.3.5
pkgrel=0
pkgdesc="rc file (dotfile) management"
url="https://github.com/thoughtbot/rcm"
arch="noarch"
license="BSD-3-Clause"
makedepends="autoconf automake ruby-mustache"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://thoughtbot.github.io/rcm/dist/rcm-$pkgver.tar.gz"

build() {
	CONFIG_SHELL=/bin/sh ./configure --prefix=/usr
	make -j1
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="2b919d68ee8c3b530f3504d3283b66cb00b46267e4e7b6940758b42ae54a8fbe268b4dd97c09beaf2377d135b21ffe4e31c09ef56a6b80029cf9ad79c66d10a5  rcm-1.3.5.tar.gz"
